/*
 * ClientWindowNew.java
 *
 * Created on January 4, 2008, 10:43 AM
 */

package com.pentajock.docdb;

/**
 *
 * @author  A. Tres Finocchiaro
 * @author  Steve Kurilovitch
 */
public class ClientWindowNew extends javax.swing.JFrame {
    
    /** Creates new form ClientWindowNew */
    public ClientWindowNew() {
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        panelButtonGroup = new javax.swing.ButtonGroup();
        themeButtonGroup = new javax.swing.ButtonGroup();
        languageButtonGroup = new javax.swing.ButtonGroup();
        menuBar = new javax.swing.JMenuBar();
        fileMenu = new javax.swing.JMenu();
        printMenuItem = new javax.swing.JMenuItem();
        logoutMenuItem = new javax.swing.JMenuItem();
        fileSeparator = new javax.swing.JSeparator();
        exitMenuItem = new javax.swing.JMenuItem();
        editMenu = new javax.swing.JMenu();
        searchMenuItem = new javax.swing.JMenuItem();
        editSeparator = new javax.swing.JSeparator();
        cutMenuItem = new javax.swing.JMenuItem();
        copyMenuItem = new javax.swing.JMenuItem();
        copyToMenu = new javax.swing.JMenu();
        copyToDesktopMenuItem = new javax.swing.JMenuItem();
        linkToDesktopMenuItem = new javax.swing.JMenuItem();
        emailAttachmentMenuItem = new javax.swing.JMenuItem();
        emailHyperlinkMenuItem = new javax.swing.JMenuItem();
        pasteMenuItem = new javax.swing.JMenuItem();
        deleteMenuItem = new javax.swing.JMenuItem();
        viewMenu = new javax.swing.JMenu();
        adminMenuItem = new javax.swing.JMenuItem();
        listOweMenuItem = new javax.swing.JMenuItem();
        listAllMenuItem = new javax.swing.JMenuItem();
        viewSeparator = new javax.swing.JSeparator();
        themeMenu = new javax.swing.JMenu();
        themeOptionsMenu = new javax.swing.JMenu();
        showPanelMenuItem = new javax.swing.JCheckBoxMenuItem();
        buttonRadioMenuItem = new javax.swing.JRadioButtonMenuItem();
        navigationRadioMenuItem = new javax.swing.JRadioButtonMenuItem();
        themeOptionsSeparator = new javax.swing.JSeparator();
        borderCheckMenuItem = new javax.swing.JCheckBoxMenuItem();
        themesSeparator = new javax.swing.JSeparator();
        defaultThemeLegacyMenuItem = new javax.swing.JRadioButtonMenuItem();
        defaultThemeModernMenuItem = new javax.swing.JRadioButtonMenuItem();
        colorMenu = new javax.swing.JMenu();
        defaultColorsMenuItem = new javax.swing.JMenuItem();
        colorSeparator = new javax.swing.JSeparator();
        languageMenu = new javax.swing.JMenu();
        defaultLanguageMenuItem = new javax.swing.JMenuItem();
        languageSeparator = new javax.swing.JSeparator();
        utilitiesMenu = new javax.swing.JMenu();
        passwordMenuItem = new javax.swing.JMenuItem();
        desktopShortcutMenuItem = new javax.swing.JMenuItem();
        createNewMenuItem = new javax.swing.JMenuItem();
        egoAssignMenuItem = new javax.swing.JMenuItem();
        copyLinkMenuItem = new javax.swing.JMenuItem();
        helpMenu = new javax.swing.JMenu();
        contentsMenuItem = new javax.swing.JMenuItem();
        aboutMenuItem = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Document Database");
        setName("mainFrame"); // NOI18N

        fileMenu.setMnemonic('F');
        java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("com/pentajock/docdb/lang/lang"); // NOI18N
        fileMenu.setText(bundle.getString("File")); // NOI18N

        printMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.CTRL_MASK));
        printMenuItem.setMnemonic('P');
        printMenuItem.setText("Print");
        fileMenu.add(printMenuItem);

        logoutMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_L, java.awt.event.InputEvent.CTRL_MASK));
        logoutMenuItem.setMnemonic('L');
        logoutMenuItem.setText("Log Out");
        fileMenu.add(logoutMenuItem);
        fileMenu.add(fileSeparator);

        exitMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.CTRL_MASK));
        exitMenuItem.setMnemonic('X');
        exitMenuItem.setText(bundle.getString("Exit")); // NOI18N
        exitMenuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                exitMenuItemActionPerformed(evt);
            }
        });
        fileMenu.add(exitMenuItem);

        menuBar.add(fileMenu);

        editMenu.setMnemonic('E');
        editMenu.setText(bundle.getString("Edit")); // NOI18N

        searchMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F, java.awt.event.InputEvent.CTRL_MASK));
        searchMenuItem.setText("Find");
        searchMenuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                searchMenuItemActionPerformed(evt);
            }
        });
        editMenu.add(searchMenuItem);
        editMenu.add(editSeparator);

        cutMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, java.awt.event.InputEvent.CTRL_MASK));
        cutMenuItem.setText(bundle.getString("Cut")); // NOI18N
        cutMenuItem.setEnabled(false);
        editMenu.add(cutMenuItem);

        copyMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_C, java.awt.event.InputEvent.CTRL_MASK));
        copyMenuItem.setText(bundle.getString("Copy")); // NOI18N
        editMenu.add(copyMenuItem);

        copyToMenu.setText("Copy To");

        copyToDesktopMenuItem.setText("Desktop");
        copyToDesktopMenuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                copyToDesktopMenuItemActionPerformed(evt);
            }
        });
        copyToMenu.add(copyToDesktopMenuItem);

        linkToDesktopMenuItem.setText("Desktop (Create Shortcut)");
        linkToDesktopMenuItem.setEnabled(false);
        copyToMenu.add(linkToDesktopMenuItem);

        emailAttachmentMenuItem.setText("Email (Attachment)");
        emailAttachmentMenuItem.setEnabled(false);
        copyToMenu.add(emailAttachmentMenuItem);

        emailHyperlinkMenuItem.setText("Email (Hyperlink)");
        emailHyperlinkMenuItem.setEnabled(false);
        copyToMenu.add(emailHyperlinkMenuItem);

        editMenu.add(copyToMenu);

        pasteMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_V, java.awt.event.InputEvent.CTRL_MASK));
        pasteMenuItem.setText(bundle.getString("Paste")); // NOI18N
        pasteMenuItem.setEnabled(false);
        editMenu.add(pasteMenuItem);

        deleteMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_DELETE, 0));
        deleteMenuItem.setText(bundle.getString("Delete")); // NOI18N
        editMenu.add(deleteMenuItem);

        menuBar.add(editMenu);

        viewMenu.setMnemonic('V');
        viewMenu.setText("View");

        adminMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F3, 0));
        adminMenuItem.setMnemonic('A');
        adminMenuItem.setText("Administer Documents");
        viewMenu.add(adminMenuItem);

        listOweMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F5, 0));
        listOweMenuItem.setMnemonic('W');
        listOweMenuItem.setText("Unfinished / Assigned Documents");
        listOweMenuItem.setToolTipText("Lists documents assigned to you for updating");
        listOweMenuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                listOweMenuItemActionPerformed(evt);
            }
        });
        viewMenu.add(listOweMenuItem);

        listAllMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F7, 0));
        listAllMenuItem.setMnemonic('A');
        listAllMenuItem.setText("All Documents");
        listAllMenuItem.setToolTipText("Lists all documents in the database");
        viewMenu.add(listAllMenuItem);
        viewMenu.add(viewSeparator);

        themeMenu.setMnemonic('T');
        themeMenu.setText("Themes");
        themeMenu.setToolTipText("Change the look and feel of this application");

        themeOptionsMenu.setText("Options");

        showPanelMenuItem.setSelected(true);
        showPanelMenuItem.setText("Use Panel");
        themeOptionsMenu.add(showPanelMenuItem);

        buttonRadioMenuItem.setSelected(true);
        buttonRadioMenuItem.setText("Legacy Button Panel");
        buttonRadioMenuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonRadioMenuItemActionPerformed(evt);
            }
        });
        themeOptionsMenu.add(buttonRadioMenuItem);

        navigationRadioMenuItem.setSelected(true);
        navigationRadioMenuItem.setText("Modern Navigation Panel");
        themeOptionsMenu.add(navigationRadioMenuItem);
        themeOptionsMenu.add(themeOptionsSeparator);

        borderCheckMenuItem.setSelected(true);
        borderCheckMenuItem.setText("Use Border");
        themeOptionsMenu.add(borderCheckMenuItem);

        themeMenu.add(themeOptionsMenu);
        themeMenu.add(themesSeparator);

        defaultThemeLegacyMenuItem.setSelected(true);
        defaultThemeLegacyMenuItem.setText("Default Legacy");
        themeMenu.add(defaultThemeLegacyMenuItem);

        defaultThemeModernMenuItem.setSelected(true);
        defaultThemeModernMenuItem.setText("Default Modern");
        themeMenu.add(defaultThemeModernMenuItem);

        viewMenu.add(themeMenu);

        colorMenu.setMnemonic('C');
        colorMenu.setText("Colors");

        defaultColorsMenuItem.setText("Restore Default");
        colorMenu.add(defaultColorsMenuItem);
        colorMenu.add(colorSeparator);

        viewMenu.add(colorMenu);

        languageMenu.setText("Language");

        defaultLanguageMenuItem.setText("Restore Default");
        languageMenu.add(defaultLanguageMenuItem);
        languageMenu.add(languageSeparator);

        viewMenu.add(languageMenu);

        menuBar.add(viewMenu);

        utilitiesMenu.setMnemonic('U');
        utilitiesMenu.setText("Utilities");

        passwordMenuItem.setMnemonic('P');
        passwordMenuItem.setText("Change Password");
        utilitiesMenu.add(passwordMenuItem);

        desktopShortcutMenuItem.setMnemonic('D');
        desktopShortcutMenuItem.setText("Create Desktop Icon");
        utilitiesMenu.add(desktopShortcutMenuItem);

        createNewMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.CTRL_MASK));
        createNewMenuItem.setMnemonic('N');
        createNewMenuItem.setText("Create New");
        utilitiesMenu.add(createNewMenuItem);

        egoAssignMenuItem.setText("Assign To Myself");
        utilitiesMenu.add(egoAssignMenuItem);

        copyLinkMenuItem.setText("Copy Link To Clipboard");
        copyLinkMenuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                copyLinkMenuItemActionPerformed(evt);
            }
        });
        utilitiesMenu.add(copyLinkMenuItem);

        menuBar.add(utilitiesMenu);

        helpMenu.setMnemonic('H');
        helpMenu.setText(bundle.getString("Help")); // NOI18N

        contentsMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F1, 0));
        contentsMenuItem.setText(bundle.getString("Contents")); // NOI18N
        contentsMenuItem.setEnabled(false);
        helpMenu.add(contentsMenuItem);

        aboutMenuItem.setMnemonic('A');
        aboutMenuItem.setText(bundle.getString("About")); // NOI18N
        helpMenu.add(aboutMenuItem);

        menuBar.add(helpMenu);

        setJMenuBar(menuBar);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 284, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    private void exitMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exitMenuItemActionPerformed
        System.exit(0);
    }//GEN-LAST:event_exitMenuItemActionPerformed

    private void listOweMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_listOweMenuItemActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_listOweMenuItemActionPerformed

    private void buttonRadioMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonRadioMenuItemActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_buttonRadioMenuItemActionPerformed

    private void searchMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_searchMenuItemActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_searchMenuItemActionPerformed

    private void copyToDesktopMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_copyToDesktopMenuItemActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_copyToDesktopMenuItemActionPerformed

    private void copyLinkMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_copyLinkMenuItemActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_copyLinkMenuItemActionPerformed
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new ClientWindowNew().setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem aboutMenuItem;
    private javax.swing.JMenuItem adminMenuItem;
    private javax.swing.JCheckBoxMenuItem borderCheckMenuItem;
    private javax.swing.JRadioButtonMenuItem buttonRadioMenuItem;
    private javax.swing.JMenu colorMenu;
    private javax.swing.JSeparator colorSeparator;
    private javax.swing.JMenuItem contentsMenuItem;
    private javax.swing.JMenuItem copyLinkMenuItem;
    private javax.swing.JMenuItem copyMenuItem;
    private javax.swing.JMenuItem copyToDesktopMenuItem;
    private javax.swing.JMenu copyToMenu;
    private javax.swing.JMenuItem createNewMenuItem;
    private javax.swing.JMenuItem cutMenuItem;
    private javax.swing.JMenuItem defaultColorsMenuItem;
    private javax.swing.JMenuItem defaultLanguageMenuItem;
    private javax.swing.JRadioButtonMenuItem defaultThemeLegacyMenuItem;
    private javax.swing.JRadioButtonMenuItem defaultThemeModernMenuItem;
    private javax.swing.JMenuItem deleteMenuItem;
    private javax.swing.JMenuItem desktopShortcutMenuItem;
    private javax.swing.JMenu editMenu;
    private javax.swing.JSeparator editSeparator;
    private javax.swing.JMenuItem egoAssignMenuItem;
    private javax.swing.JMenuItem emailAttachmentMenuItem;
    private javax.swing.JMenuItem emailHyperlinkMenuItem;
    private javax.swing.JMenuItem exitMenuItem;
    private javax.swing.JMenu fileMenu;
    private javax.swing.JSeparator fileSeparator;
    private javax.swing.JMenu helpMenu;
    private javax.swing.ButtonGroup languageButtonGroup;
    private javax.swing.JMenu languageMenu;
    private javax.swing.JSeparator languageSeparator;
    private javax.swing.JMenuItem linkToDesktopMenuItem;
    private javax.swing.JMenuItem listAllMenuItem;
    private javax.swing.JMenuItem listOweMenuItem;
    private javax.swing.JMenuItem logoutMenuItem;
    private javax.swing.JMenuBar menuBar;
    private javax.swing.JRadioButtonMenuItem navigationRadioMenuItem;
    private javax.swing.ButtonGroup panelButtonGroup;
    private javax.swing.JMenuItem passwordMenuItem;
    private javax.swing.JMenuItem pasteMenuItem;
    private javax.swing.JMenuItem printMenuItem;
    private javax.swing.JMenuItem searchMenuItem;
    private javax.swing.JCheckBoxMenuItem showPanelMenuItem;
    private javax.swing.ButtonGroup themeButtonGroup;
    private javax.swing.JMenu themeMenu;
    private javax.swing.JMenu themeOptionsMenu;
    private javax.swing.JSeparator themeOptionsSeparator;
    private javax.swing.JSeparator themesSeparator;
    private javax.swing.JMenu utilitiesMenu;
    private javax.swing.JMenu viewMenu;
    private javax.swing.JSeparator viewSeparator;
    // End of variables declaration//GEN-END:variables
    
}
